package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 书的信息对象 book
 * 
 * @author ruoyi
 * @date 2024-09-04
 */
public class Book extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 书的id */
    private Long id;

    /** 书的名称 */
    @Excel(name = "书的名称")
    private String bookName;

    /** 书的图片 */
    @Excel(name = "书的图片")
    private String bookImgUrl;

    /** 出版社信息） */
    @Excel(name = "出版社信息）")
    private String bookPublisher;

    /** 新书 */
    @Excel(name = "新书")
    private String bookNew;

    /** 新书价钱 */
    @Excel(name = "新书价钱")
    private String bookNewPrice;

    /** 老书 */
    @Excel(name = "老书")
    private String bookOld;

    /** 老书价钱 */
    @Excel(name = "老书价钱")
    private String bookOldPrice;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookImgUrl(String bookImgUrl) 
    {
        this.bookImgUrl = bookImgUrl;
    }

    public String getBookImgUrl() 
    {
        return bookImgUrl;
    }
    public void setBookPublisher(String bookPublisher) 
    {
        this.bookPublisher = bookPublisher;
    }

    public String getBookPublisher() 
    {
        return bookPublisher;
    }
    public void setBookNew(String bookNew) 
    {
        this.bookNew = bookNew;
    }

    public String getBookNew() 
    {
        return bookNew;
    }
    public void setBookNewPrice(String bookNewPrice) 
    {
        this.bookNewPrice = bookNewPrice;
    }

    public String getBookNewPrice() 
    {
        return bookNewPrice;
    }
    public void setBookOld(String bookOld) 
    {
        this.bookOld = bookOld;
    }

    public String getBookOld() 
    {
        return bookOld;
    }
    public void setBookOldPrice(String bookOldPrice) 
    {
        this.bookOldPrice = bookOldPrice;
    }

    public String getBookOldPrice() 
    {
        return bookOldPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookName", getBookName())
            .append("bookImgUrl", getBookImgUrl())
            .append("bookPublisher", getBookPublisher())
            .append("bookNew", getBookNew())
            .append("bookNewPrice", getBookNewPrice())
            .append("bookOld", getBookOld())
            .append("bookOldPrice", getBookOldPrice())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
